package org.example.supplychain.domain;


import lombok.Data;

import java.util.*;

@Data
public class User {
    private long userId; //用户ID
    private String userName; //用户名
    private String password; //密码
    private String nickname; //昵称
    private String phone; //电话
    private String role; //用户角色
    private Date createDate; //创建日期

    public User(long userId, String userName, String password, String phone, Date createDate) {
        this.userId = userId;
        this.userName = userName;
        this.password = password;
        this.phone = phone;
        this.createDate = createDate;
    }

    public User() {
    }
}
